package com.mou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mou.entity.Verify;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface VerifyMapper extends BaseMapper<Verify> {
    @Select("select * from verify where user_id = #{currentId} and is_pass = 1")
    List<Verify> getByUserId(Integer currentId);
}
